from JascApp import *

def ScriptProperties():
    return {
        'Author': u'Jasc Software, Inc.',
        'Copyright': u'Copyright (c) 2004 Jasc Software, Inc.  All rights reserved.',
        'Description': u'',
        'Host': u'Paint Shop Pro 9',
        'Host Version': u'9.00'
        }

def Preset_UserDefinedFilter():
    return {
        'ApplyToRed': True, 
        'Bias': 0, 
        'ApplyToGreen': True, 
        'Divisor': 1, 
        'ApplyToGrey': False, 
        'ApplyToBlue': True, 
        'Kernel': ((0,0,0,0,0,0,0),(0,0,0,0,0,0,0),(0,0,-1,-1,-1,0,0),(0,0,-1,8,-1,0,0),(0,0,-1,-1,-1,0,
            0),(0,0,0,0,0,0,0),(0,0,0,0,0,0,0))
        }

def Do(Environment):
    # UserDefinedFilter
    App.Do( Environment, 'UserDefinedFilter',         Preset_UserDefinedFilter())

 